package com.acme;

public class Task6 {

	public static void main(String[] args) {
		String str = args[0];
		
		String[] mass = str.split("\\//");
		str = mass[0];
		
		mass = str.split("\\*/");
		String sum = "";
		for (int i = 0; i < mass.length; i++){
			int j = mass[i].indexOf("/*");
			if (j == -1){
				sum += mass[i] ;
			}
			else{
				sum += mass[i].substring(0,j);
				
			}
		}

		System.out.println(sum);
	}

}